package test;  

public class SelectCourse {
	public static void main(String[] args) {
		Teacher t1= new Teacher(1, "庄伟", '男', "线性代数"); 
		Course c1 = new Course(1, "302", "8：00", t1);
        Student s1 = new Student(1, "宋", '男',t1, c1);  
        Teacher t2=new Teacher(2, "王芳", '女', "Python程序设计");
        Course c2=new Course(2, "综0921", "9:40", t2);
        Student s2 = new Student(2, "王", '男',t2,c2);
        Teacher t3=new Teacher(3, "张世博", '男', "JAVA技术及应用");
        Course c3 = new Course(3, "1705", "8：00", t3);
        Student s3 = new Student(3, "隋", '男',t2,c3);
        System.out.println("学生信息:\n" + s1 + "\n" + s2 + "\n" + s3);  
        System.out.println("教师信息:\n" + t1 + "\n" + t2 + "\n" + t3);  
	} 
} 